<?php

/**
 * home actions.
 *
 * @package    maximous
 * @subpackage home
 * @author     Mina.Gerges.Wadea
 * @version    SVN: $Id: actions.class.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class homeActions extends MaxFrontendActions {

    /**
     * Executes index action
     *
     * @param sfRequest $request A request object
     */
    public function executeIndex() {
        $this->lastJobs = JobTable::getInstance()->getLastAddedJobs(6)->execute();
        $this->lastJobRequests = JobRequestTable::getInstance()->getLastAddedJobsRequests(6)->execute();
    }

}
